import 'dart:convert';

import 'package:enterprise_v6_app/app/data/entities/application/basic_information/project_same_time_entity.dart';
import 'package:enterprise_v6_app/generated/json/base/json_field.dart';
import 'package:enterprise_v6_app/generated/json/same_time_entity.g.dart';

export 'package:enterprise_v6_app/generated/json/same_time_entity.g.dart';

@JsonSerializable()
class SameTimeEntity {
  SameTimeEntity();

  factory SameTimeEntity.fromJson(Map<String, dynamic> json) => $SameTimeEntityFromJson(json);
  late ProjectSameTimeEntity cancel = ProjectSameTimeEntity();
  late ProjectSameTimeEntity construction = ProjectSameTimeEntity();
  late ProjectSameTimeEntity design = ProjectSameTimeEntity();
  late String end = '';
  late String projectName = '';
  late String projectTypeName = '';
  late String start = '';
  late String nowStatus = '';
  late ProjectSameTimeEntity trialProduction = ProjectSameTimeEntity();

  Map<String, dynamic> toJson() => $SameTimeEntityToJson(this);

  @override
  String toString() {
    return jsonEncode(this);
  }
}
